{include file="$AdminFullPath/skins/$DefaultSkin/header.tpl" title=foo}

<table width="100%">
  <tr>
    <td class="module_title" nowrap>
      <a href="index.php">{$SiteTitle}</a> &raquo; <a href="{$PHPSELF}?mod={$mod}">{$OrbitFAQTitle} </a>
    </td>
    <td class="" nowrap>
    </td>
  </tr>
</table>
<br />

{if $message != ''}
<table width="100%" class="message_tbl">
  <tr>
    <td style="vertical-align: bottom;" width="20">
      <img src="skins/{$DefaultSkin}/images/notice.gif">
    </td>
    <td class="message" nowrap>
      {$message}
    </td>
  </tr>
</table>
<br />
{/if}

<table cellspacing="1" class="index_body">

  {if $Errors != ''}
  <tr>
    <td class="errors">
      <b>We found some errors with your posting. Please solve the following:<br /></b>
      {$Errors}
    </td>
  </tr>
  <tr>
    <td>
    </td>
  </tr>
  {/if}

  <tr>
    <td>
      <form ACTION="{$PHPSELF}?mod={$mod}&posted=yes" METHOD="post" NAME="FORM_MODIFY_CONFIG">
        <table style="width: 400px">
          <tr>
            <td nowrap colspan="2">
              <h2>FAQ Details</h2>
            </td>
          </tr>
          {section name=ConfigFAQDetailsListing loop=$ConfigFAQDetailsListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_desc} (${$ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_fieldtype != ''}
                <select name="{$ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_variable}">
                  {$ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_variable}" value="{$ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_value}" />
              {/if}

              {if $ConfigFAQDetailsListing[ConfigFAQDetailsListing].config_madatory != '1'}
               (optional)
              {/if}
            </td>
          </tr>
          {/section}

          <tr>
            <td nowrap colspan="2">
              <h2>Folders and Paths</h2>
            </td>
          </tr>
          {section name=ConfigFoldersListing loop=$ConfigFoldersListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigFoldersListing[ConfigFoldersListing].config_desc} (${$ConfigFoldersListing[ConfigFoldersListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigFoldersListing[ConfigFoldersListing].config_fieldtype != ''}
                <select name="{$ConfigFoldersListing[ConfigFoldersListing].config_variable}">
                  {$ConfigFoldersListing[ConfigFoldersListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigFoldersListing[ConfigFoldersListing].config_variable}" value="{$ConfigFoldersListing[ConfigFoldersListing].config_value}" />
              {/if}
            </td>
          </tr>
          {/section}

          <tr>
            <td nowrap colspan="2">
              <h2>Email Settings</h2>
            </td>
          </tr>
          {section name=ConfigEmailListing loop=$ConfigEmailListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigEmailListing[ConfigEmailListing].config_desc} (${$ConfigEmailListing[ConfigEmailListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigEmailListing[ConfigEmailListing].config_fieldtype != ''}
                <select name="{$ConfigEmailListing[ConfigEmailListing].config_variable}">
                  {$ConfigEmailListing[ConfigEmailListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigEmailListing[ConfigEmailListing].config_variable}" value="{$ConfigEmailListing[ConfigEmailListing].config_value}" />
              {/if}
            </td>
          </tr>
          {/section}

          <tr>
            <td nowrap colspan="2">
              <h2>PHP Settings</h2>
            </td>
          </tr>
          {section name=ConfigPHPListing loop=$ConfigPHPListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigPHPListing[ConfigPHPListing].config_desc} (${$ConfigPHPListing[ConfigPHPListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigPHPListing[ConfigPHPListing].config_fieldtype != ''}
                <select name="{$ConfigPHPListing[ConfigPHPListing].config_variable}">
                  {$ConfigPHPListing[ConfigPHPListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigPHPListing[ConfigPHPListing].config_variable}" value="{$ConfigPHPListing[ConfigPHPListing].config_value}" />
              {/if}
            </td>
          </tr>
          {/section}

          <tr>
            <td nowrap colspan="2">
              <h2>FAQ Skins</h2>
            </td>
          </tr>
          {section name=ConfigSkinsListing loop=$ConfigSkinsListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigSkinsListing[ConfigSkinsListing].config_desc} (${$ConfigSkinsListing[ConfigSkinsListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigSkinsListing[ConfigSkinsListing].config_fieldtype != ''}
                <select name="{$ConfigSkinsListing[ConfigSkinsListing].config_variable}">
                  {$ConfigSkinsListing[ConfigSkinsListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigSkinsListing[ConfigSkinsListing].config_variable}" value="{$ConfigSkinsListing[ConfigSkinsListing].config_value}" />
              {/if}
            </td>
          </tr>
          {/section}

          <tr>
            <td nowrap colspan="2">
              <h2>Question Rating Settings</h2>
            </td>
          </tr>
          {section name=ConfigRatingListing loop=$ConfigRatingListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigRatingListing[ConfigRatingListing].config_desc} (${$ConfigRatingListing[ConfigRatingListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigRatingListing[ConfigRatingListing].config_fieldtype != ''}
                <select name="{$ConfigRatingListing[ConfigRatingListing].config_variable}">
                  {$ConfigRatingListing[ConfigRatingListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigRatingListing[ConfigRatingListing].config_variable}" value="{$ConfigRatingListing[ConfigRatingListing].config_value}" />
              {/if}
            </td>
          </tr>
          {/section}

          <tr>
            <td nowrap colspan="2">
              <h2>RSS Feed Settings</h2>
            </td>
          </tr>
          {section name=ConfigRSSListing loop=$ConfigRSSListing}
          <tr>
            <td nowrap style="padding-left:15px">
              {$ConfigRSSListing[ConfigRSSListing].config_desc} (${$ConfigRSSListing[ConfigRSSListing].config_variable})
            </td>
            <td nowrap>
              {if $ConfigRSSListing[ConfigRSSListing].config_fieldtype != ''}
                <select name="{$ConfigRSSListing[ConfigRSSListing].config_variable}">
                  {$ConfigRSSListing[ConfigRSSListing].config_options}
                </select>
              {else}
                <input type="text" class="post postbig" name="{$ConfigRSSListing[ConfigRSSListing].config_variable}" value="{$ConfigRSSListing[ConfigRSSListing].config_value}" />
              {/if}
            </td>
          </tr>
          {/section}


          <tr>
            <td colspan="2" nowrap><br /><br />
              <center><input class="button" type="submit" value="save" /></center>
            </td>
          </tr>
        </table>
      </form>

    </td>
  </tr>

</table>

{include file="$AdminFullPath/skins/$DefaultSkin/footer.tpl"}